﻿using System;

namespace Dogshow.Web.Requests
{
    public class Response
    {
        private string _error;
        public string Error
        {
            get { return _error; }
            set
            {
                if (Error != value)
                {
                    _error = value;
                    HasErrors = !String.IsNullOrEmpty(Error);
                }
            }
        }

        public bool HasErrors { get; set; }
    }
}